package com.software.sqlite.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;

/**
 * @author diaojianfeng
 * @date 2019/4/18 下午5:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Page {
	/**
	 * 当前页数
	 */
	@ApiModelProperty(value="当前页数",name="pageNo",example="1")
	private int pageNo;
	/**
	 * 每页显示行数
	 */
	@ApiModelProperty(value="每页显示行数",name="pageSize",example="10")
	private int pageSize;
	/**
	 * 总数
	 */
	@ApiModelProperty(value="总数",name="totalSize",example="10")
	private int totalSize;

	/**
	 * 总行数
	 */
	@ApiModelProperty(value="总行数",name="totalPage",example="100")
	private int totalPage;

	/**
	 * List
	 */
	@ApiModelProperty(value="list",name="list",example="[]")
	private List list;

}
